DS1982
CRC GENERATION
The DS1982 has an 8-bit CRC stored in the most significant byte of the 64-bit ROM. The bus master can
compute a CRC value from the first 56 bits of the 64-bit ROM and compare it to the value stored within
the DS1982 to determine if the ROM data has been received error-free by the bus master. The equivalent
polynomial function of this CRC is: X 8 + X 5 + X 4 + 1.
Under certain conditions, the DS1982 also generates an 8-bit CRC value using the same polynomial
function shown above and provides this value to the bus master to validate the transfer of command,
address, and data bytes from the bus master to the DS1982. The Memory Function Flow Chart of Figure
6 indicates that the DS1982 computes an 8-bit CRC for the command, address, and data bytes received
for the Write Memory and the Write Status commands and then outputs this value to the bus master to
confirm proper transfer. Similarly the DS1982 computes an 8–bit CRC for the command and address
bytes received from the bus master for the Read Memory, Read Status, and Read Data/Generate 8-Bit
CRC commands to confirm that these bytes have been received correctly. The CRC generator on the
DS1982 is also used to provide verification of error-free data transfer as each page of data from the 1024-
bit EPROM is sent to the bus master during a Read Data/Generate 8-bit CRC command, and for the 8
bytes of information in the status memory field.
In each case where a CRC is used for data transfer validation, the bus master must calculate a CRC value
using the polynomial function given above and compare the calculated value to either the 8-bit CRC
value stored in the 64-bit ROM portion of the DS1982 (for ROM reads) or the 8-bit CRC value computed
within the DS1982. The comparison of CRC values and decision to continue with an operation are
determined entirely by the bus master. There is no circuitry on the DS1982 that prevents a command
sequence from proceeding if the CRC stored in or calculated by the DS1982 does not match the value
generated by the bus master. Proper use of the CRC as outlined in the flow chart of Figure 6 can result in
a communication channel with a very high level of integrity. For more details on generating CRC values
including example implementations in both hardware and software, see the Book of DS19xx iButton
Standards.
INITIALIZATION PROCEDURE “RESET AND PRESENCE PULSES” Figure 10
MASTER T X "RESET PULSE"
MASTER R X "RESET PULSE"
RESISTOR
MASTER
DS1982
480 ? s ? t RSTL < *
480 ? s ? t RSTH < ? (includes recovery time)
15 ? s ? t PDH < 60 ? s
60 ? s ? t PDL < 240 ? s
* In order not to mask interrupt signaling by other devices on the 1-Wire bus, t RSTL + t R should always be less than 960 ? s
Page 19 of 24
.
相关PDF资料
DS1985-F3+ IBUTTON 16KBit ADD-ONLY F3
DS1990A-F3+ IC IBUTTON SERIAL NUMBER F3
DS1990R-F5# IBUTTON SERIAL NUMBER F5
DS1993L-F5+ IBUTTON MEMORY 4KBit F5
DS1995L-F5+ IBUTTON MEMORY 16KBit F5
DS1996L-F5+ IBUTTON MEMORY 64KBit F5
DS9092K# KIT IBUTTON STARTER
DS9502P+T&R DIODE ESD PROTECTION 6-TSOC
相关代理商/技术参数
DS1982-F5W+ 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U 制造商:未知厂家 制造商全称:未知厂家 功能描述:UniqueWare iButton
DS1982U-1118+A04 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U-1119+A04 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U-1151+A04 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U-A0B-116D+ 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U-F3-1166+ 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1982U-F3-1177+ 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated